<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>消息提示 - 我网</title>
    <meta name="Keywords" content="我网,Wooo,我告诉你,知识,文档,问答"/>
    <meta name="Description" content="我网,互联网上知识的整理者、书写者,互联网沙滩上的拾贝者！您可以在'我告诉你'中查询与发布您的知识经验见解,在问答中提出与解决疑问。"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
    <link href="__STATIC__/img/favicon.ico" type="image/x-icon" rel="shortcut icon">
    <link rel="stylesheet" href="__STATIC__/css/wooo.css">
    <style>
        html,body{
            width:100%;
            height: 100%;
        }
        body{
            background: #FAFAFA;
            color: #333;
            font-family: "Helvetica Neue",Roboto,"Segoe UI",sans-serif;
            font-weight: 400;
            line-height: 1.42857;
            letter-spacing: 0.3px;
            text-rendering: optimizelegibility;
        }
        body *{
            margin:0;
            padding:0;
        }
        .container{
            max-width: 720px;
            margin:0 auto ;
            margin-top:14%;
        }
        .left{
            width:25%;
            float: left;
            padding: 0 15px;
        }
        .left span{
            display: block;
            font-size: 96px;
            font-weight: 500;
            line-height: 1em;
            text-align: center;
            margin-top:25px;
            margin-bottom: 30px;
        }
        .right{
            width:75%;
            float: left;
            padding:0 15px;
        }
        .right h1{
            font-size: 48px;
            line-height: 100px;
            font-weight: 500;
            margin-bottom: 5px;
            font-family: "Helvetica Neue",Roboto,"Segoe UI",sans-serif;
            letter-spacing: 0.3px;
        }
        .right p{
            font-size: 18px;
            margin-bottom: 10px;
        }
        .btn{
            margin-top: 20px;
            padding-top: 15px;
            padding-bottom: 15px;
            border-top: 1px solid #EEE;
        }
        .btn a{
            background: transparent linear-gradient(#FCFCFC, #EDEDED) repeat scroll 0% 0%;
            border: 1px solid #C9C9C9;
            color: #333;
            box-shadow: none;
            text-decoration: none;
            text-shadow: none;
            cursor: pointer;
            display: inline-block;
            padding: 6px 12px;
            font-size: 14px;
            line-height: 1.42857;
            border-radius: 3px;
            margin:10px;
        }
        @media screen and (max-width:720px) {
            .container {
                width:100%;
            }
            .left,.right{
                float: none;
                margin:0 auto;
            }
            .right h1{
                font-size:36px;
                line-height: 60px;
                margin-bottom: 15px;
            }
            .btn a{
                text-align: center;
            }
            .left span{
                margin-top:4px;
            }
        }
    </style>
</head>
<body>
<div class="container clearfix">
    <div class="left">
        <span class="icon-chuizi"></span>
    </div>
    <div class="right">
        <?php if(isset($message)) {?>
            <h1>SUCCESS.</h1>
            <p><?php echo($message); ?></p>
        <?php }else{?>
            <h1>ERROR.</h1>
            <p><?php echo($error); ?></p>
        <?php }?>
        <div class="btn">
            <a href="{:U('tell/index/index')}">i Tell you.</a>
            <a id="href" href="<?php echo($jumpUrl); ?>">return. <i id="time"><?php echo($waitSecond); ?></i>s</a>
        </div>
    </div>
</div>
<script src="__STATIC__/jquery.min.js"></script>
<script>
    $(document).ready(function(){
        var interval=setInterval(function(){
            var time=parseInt($('#time').text())-1;
            $('#time').text(time);
            if(time<=0){
                console.log($('#href').attr('href'));
                if($('#href').attr('href')) location.href=$('#href').attr('href');
                clearInterval(interval);
            }
        },1000);
    });
</script>

</body>
</html>